package VN.EDU.IMIC.DEVELOPER.NGUYENTHUYOANH_LV1_04;

public class Controller {
 private Date m_Date;
 private Models m_Models;
 
 
 //Khoi tao
 public Controller(Date m_Date) {

		this.m_Date = m_Date;
		this.m_Models = new Models();
	}



// Hanh dong
public int CheckDayOfMonth()
 {
	 int kq=0;
	 if(m_Models.CheckInValid(m_Date)==false)
	 {
		 kq=m_Models.CheckDayOfMonth(m_Date);
		 
		

	 }
		
	 return kq;
	 
 }
}
